package Test;

import static org.junit.Assert.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.Scanner;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

import proyecto.*;

public class C3_1 {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Test
	public void test() {
		
			
			Controlador c = new Controlador();
			Tarea tarea = c.crearTarea();
			c.modificarTarea(tarea, "Tarea1", new Date(2014,10,01), new Date(2014,10,8));
			c.eliminarTarea(tarea);
		
             assertNull("No se ha eliminado la tarea",tarea);
         }
         
         
         

}
